va_start[initialize variable argument list]

Contents|Index|Previous|Next

va_start
[initialize variable argument list]

    SYNOPSIS
    #include <varargs.h>
    va_list ap;
    va_start(ap);

DESCRIPTION
With the varargs.h macros, use va_start to initialize a data structure, ap, to permit manipulating a variable argument list. ap must have the type, va_alist.

RETURNS
va_start does not return a result.

COMPLIANCE
va_start is also defined as a macro in ANSI C, but the definitions are incompatible; the ANSI version has another parameter besides ap.